import request from "@/utils/request";
export function getUserInfo(query) {  // 获取用户信息
  return request({
    url: "/login/loginsys/getUserInfo",
    method: "post",
    params: query
  });
}
export function bindSystem(query) {
  return request({
    url: "/login/loginsys/bindSystem",
    method: "post",
    params: query
  });
}
// POST /api/loginsys/loginSendCode 发送验证码
export function getLoginCode(query) {
    return request({
      url: "/login/loginsys/loginSendCode",
      method: "post",
      params: query
    });
  }
// POST/api/reception/byteUploads base64上传至公共OSS
export function byteUpload(query) {
    return request({
      url: "/login/reception/byteUpload",
      method: "post",
      params: query
    });
  }

export function reception_fileUpload(query) {
  return request({
    url: "/login/reception/fileUpload",
    method: "post",
    data: query
  });
}
// POST/api/loginsys/logout 退出登录
export function get_logout(query) {
  return request({
    url: "/login/loginsys/logout",
    method: "post",
    data: query
  });
}
export function checkUserSign(query) {
  return request({
    url: "/login/loginsys/checkUserSign",
    method: "post",
    data: query
  });
}
export function getLink_Url(query) {
    return request({
      url: "/login/loginsys/loginForThirdSimple",
      method: "post",
      params: query
    });
  }
